package cc.mrbird.febs.buss.entity;

import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 *  Entity
 *
 * @author Lujingyuan
 * @date 2020-04-24 14:01:42
 */
@Data
@TableName("hall_up_data")
public class HallUpData {

    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 数据类型0-事项 1-部门
     */
    @TableField("data_type")
    private String dataType;

    /**
     * 
     */
    @TableField("item")
    private Long item;

    @TableField("depart")
    private Long depart;

    /**
     * 线上业务量
     */
    @TableField("online_buss_count")
    private Integer onlineBussCount;

    /**
     * 线下业务量
     */
    @TableField("underline_buss_count")
    private Integer underlineBussCount;

    /**
     * 线下业务量-大厅
     */
    @TableField("underline_hall")
    private Integer underlineHall;

    /**
     * 线下业务量-分厅
     */
    @TableField("underline_sub_hall")
    private Integer underlineSubHall;

    /**
     * 咨询业务量(仅限数据类型为depart)
     */
    @TableField("seek_buss_count")
    private Integer seekBussCount;

    /**
     * 邮寄业务量(仅限数据类型为depart)
     */
    @TableField("mail_buss_count")
    private Integer mailBussCount;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 业务时间
     */
    @TableField("buss_time")
    private Date bussTime;

    /**
     * 创建人
     */
    @TableField("create_by")
    private String createBy;

    /**
     * 是否删除
     */
    @TableField("is_del")
    private Integer isDel;

    @TableField(exist = false)
    private String sumItemName;

    @TableField(exist = false)
    private String mainItemName;

    @TableField(exist = false)
    private String departName;

    @TableField(exist = false)
    private String itemName;

    @TableField(exist = false)
    private String itemType;

}
